/*
 * Copyright© 2013-2018 YZTC 
 * Author zhenghl 
 * 本公司保留所有下述内容的权利; 
 * 本内容为保密信息，仅限本公司内部使用; 
 * 非经本公司书面许可，任何人不得外泄或用于其他目的; 
*/
package com.wxmp.wxapi.service;
import com.alibaba.fastjson.JSONObject;
import com.wxmp.core.exception.WxErrorException;
import com.wxmp.wxapi.process.MpAccount;
import com.wxmp.wxapi.vo.MsgRequest;
import com.wxmp.wxcms.domain.AccountFans;
/**
 * 我的微信服务接口，主要用于结合自己的业务和微信接口
 */
public interface MyService {
	public String processMsg(MsgRequest msgRequest,MpAccount mpAccount) throws WxErrorException;
	public JSONObject publishMenu(MpAccount mpAccount) throws WxErrorException ;
	public JSONObject deleteMenu(MpAccount mpAccount) throws WxErrorException ;
	public boolean syncAccountFansList(MpAccount mpAccount) throws WxErrorException ;
	public AccountFans syncAccountFans(String openId, MpAccount mpAccount, boolean merge) throws WxErrorException ;
	public AccountFans getFansByOpenId(String openid,MpAccount mpAccount) throws WxErrorException ;
	public boolean syncUserTagList(MpAccount mpAccount)throws WxErrorException ;
}
